package com.wing.sys.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name = "sys_code")
public class  Code {
	public static String CODEROOT = "ROOT";
	public static String ROLETYPE_CODE = "10011";
	public static String ORGNATURE_CODE = "10012";
	public static String YBL_TYPE_CODE = "YBL001";

  	@Id
  	@Column(name = "id")
  	private String id;
  	@Column(name = "parent_id")
  	private String parent_id;
  	@Column(name = "type")
  	private String type;
  	@Column(name = "code")
  	private String code;
  	@Column(name = "name")
  	private String name;
  	@Column(name = "code_describe")
  	private String code_describe;
  	@Column(name = "valid_flag")
  	private Integer valid_flag;
  	@Column(name = "order_num")
  	private Integer order_num;
  	@Column(name = "pam1")
  	private String pam1;
  	@Column(name = "pam2")
  	private String pam2;
  	@Column(name = "remarks")
  	private String remarks;
  	@Column(name = "tree_id")
  	private String tree_id;
  
  

  	public void  setId(String id){
  		this.id = id;
  	}
	public String getId(){
  		return this. id; 
  	}
  	public void  setParent_id(String parent_id){
  		this.parent_id = parent_id;
  	}
	public String getParent_id(){
  		return this. parent_id; 
  	}
  	public void  setType(String type){
  		this.type = type;
  	}
	public String getType(){
  		return this. type; 
  	}
  	public void  setCode(String code){
  		this.code = code;
  	}
	public String getCode(){
  		return this. code; 
  	}
  	public void  setName(String name){
  		this.name = name;
  	}
	public String getName(){
  		return this. name; 
  	}
  	public void  setCode_describe(String code_describe){
  		this.code_describe = code_describe;
  	}
	public String getCode_describe(){
  		return this. code_describe; 
  	}
  	public void  setValid_flag(Integer valid_flag){
  		this.valid_flag = valid_flag;
  	}
	public Integer getValid_flag(){
  		return this. valid_flag; 
  	}
  	public void  setOrder_num(Integer order_num){
  		this.order_num = order_num;
  	}
	public Integer getOrder_num(){
  		return this. order_num; 
  	}
  	public void  setPam1(String pam1){
  		this.pam1 = pam1;
  	}
	public String getPam1(){
  		return this. pam1; 
  	}
  	public void  setPam2(String pam2){
  		this.pam2 = pam2;
  	}
	public String getPam2(){
  		return this. pam2; 
  	}
  	public void  setRemarks(String remarks){
  		this.remarks = remarks;
  	}
	public String getRemarks(){
  		return this. remarks; 
  	}
  	public void  setTree_id(String tree_id){
  		this.tree_id = tree_id;
  	}
	public String getTree_id(){
  		return this. tree_id; 
  	}

}
